package com.huike.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Data
@Component
@ConfigurationProperties(prefix = "minio")
public class MinioConfig {
    //终端地址：127.0.0.1(这个是本地的地址）
    private String endpoint;

    //端口号：9000
    private String port;

    //登录账号
    private String accessKey;

    //登陆密码
    private String secretKey;

    //
    private Boolean secure;

    //桶的名字
    private String bucketName;

    //存储文件夹
    private String configDir;
}
